<template>
  <div>
    <el-table
      :data="useblist"
      style="width: 100%">
      <el-table-column
        prop="id"
        label="用户编号"
        width="90">
      </el-table-column>
      <el-table-column
        prop="name"
        label="用户名"
        width="90">
      </el-table-column>
      <el-table-column
        label="头像">
        <template slot-scope="scope">
          <img :src="scope.row.imgpash"/>
        </template>
      </el-table-column>

    </el-table>

  </div>
</template>

<script>
    export default {
      name: "UsebTable",
        data() {
          return {
            useblist:[]
        }
    },
    created() {
      this.axios.get("/usebs").then((resp)=>{
          this.useblist=resp.data;
      });
    },
  }
</script>

<style scoped>

</style>
